The function 𝑔 is given by 𝑔𝑥=sin𝜋2−𝑥sin𝜋−𝑥
A) Rewrite 𝑔𝑥 as a single trigonometric function.
B) Find all input values in the domain of 𝑔 that yield an output value of 3. 